package com.bw.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bw.entity.SysUser;
import com.bw.entity.UserMenu;
import com.bw.entity.UserRoleDto;
import com.bw.form.UserQueryForm;

import java.util.List;

public interface UserService {
    List<UserMenu> getAuthMenu(Long userId);
    List<UserMenu> getAuthRouter(Long userId);

    void saveUserRole(UserRoleDto userRoleDto);

    void updateUser(SysUser sysUser);

    void addUser(SysUser sysUser);

    IPage<SysUser> getUserPage(Page page, UserQueryForm query);

    void deleteUser(String ids);
}
